package com.jemmyee.shop.entity;

// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * @Description:缺货登记
 * @author:jemmyee@gmail.com
 * @date:2011-4-1
 * @version:v1.0
 */
@Entity
@Table(name = "so_book_goods")
public class BookGoods implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userId;
	private String email;
	private String linkMan;
	private String tel;
	private Integer goodsId;
	private String goodsDesc;
	private Short goodsNumber;
	private Integer bookingTime;
	private Short isDispose;
	private String disposeUser;
	private Integer disposeTime;
	private String disposeNote;


	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "user_id")
	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column(name = "email", length = 60)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "link_man", length = 60)
	public String getLinkMan() {
		return this.linkMan;
	}

	public void setLinkMan(String linkMan) {
		this.linkMan = linkMan;
	}

	@Column(name = "tel", length = 60)
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "goods_id")
	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	@Column(name = "goods_desc")
	public String getGoodsDesc() {
		return this.goodsDesc;
	}

	public void setGoodsDesc(String goodsDesc) {
		this.goodsDesc = goodsDesc;
	}

	@Column(name = "goods_number")
	public Short getGoodsNumber() {
		return this.goodsNumber;
	}

	public void setGoodsNumber(Short goodsNumber) {
		this.goodsNumber = goodsNumber;
	}

	@Column(name = "booking_time")
	public Integer getBookingTime() {
		return this.bookingTime;
	}

	public void setBookingTime(Integer bookingTime) {
		this.bookingTime = bookingTime;
	}

	@Column(name = "is_dispose")
	public Short getIsDispose() {
		return this.isDispose;
	}

	public void setIsDispose(Short isDispose) {
		this.isDispose = isDispose;
	}

	@Column(name = "dispose_user", length = 30)
	public String getDisposeUser() {
		return this.disposeUser;
	}

	public void setDisposeUser(String disposeUser) {
		this.disposeUser = disposeUser;
	}

	@Column(name = "dispose_time")
	public Integer getDisposeTime() {
		return this.disposeTime;
	}

	public void setDisposeTime(Integer disposeTime) {
		this.disposeTime = disposeTime;
	}

	@Column(name = "dispose_note")
	public String getDisposeNote() {
		return this.disposeNote;
	}

	public void setDisposeNote(String disposeNote) {
		this.disposeNote = disposeNote;
	}

}